package com.qianyu.project.entity;

import java.math.BigDecimal;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 招标采购明细
 * </p>
 *
 * @author gs
 * @since 2021-01-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class TenderPurchaseDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 采购计划ID
     */
    private String planId;

    /**
     * 物资ID
     */
    private Integer mateId;

    /**
     * 估算数量
     */
    private BigDecimal buyCount;

    /**
     * 物资采购单位
     */
    private String useDept;

    /**
     * 采购时间
     */
    private String buyTime;

    /**
     * 采购地点
     */
    private String buyAddress;

    /**
     * 候选供应商名单
     */
    private String providerName;

    @TableField(exist = false)
    private String materialName;
    @TableField(exist = false)
    private String unit;
    @TableField(exist = false)
    private String unitModel;
    @TableField(exist = false)
    private String projectName;
    @TableField(exist = false)
    private String planEditor;
    @TableField(exist = false)
    private String date;
}
